gtkplacesview: create placeholder before fetching networks
authorCarlos Soriano <csoriano@gnome.org>
Sat, 29 Aug 2015 18:35:10 +0000 (20:35 +0200)
committerCarlos Soriano <csoriano@gnome.org>
Sun, 30 Aug 2015 07:47:28 +0000 (09:47 +0200)
If not we don't show the header at all.
This was an accidental removal before commiting.

https://bugzilla.gnome.org/show_bug.cgi?id=754150

gtk/gtkplacesview.c

index 9289d1677721819515fc750383398371bb6b0db0..15acceb2893f0e2725a6532231ae599538b568bb 100644 (file)
@@ -1022,6 +1022,7 @@ fetch_networks (GtkPlacesView *view)
   g_clear_object (&priv->networks_fetching_cancellable);
   priv->networks_fetching_cancellable = g_cancellable_new ();
   priv->fetching_networks = TRUE;
+  update_network_state (view);
 
   g_file_enumerate_children_async (network_file,
                                    "standard::type,standard::target-uri,standard::name,standard::display-name,standard::icon",